const path = require('path')

module.exports = {
  mode: 'development',
  entry: path.join(__dirname, './src/index.js'),
  output: {
    path: path.join(__dirname, './dist'),
    filename: 'index.js'
  },
  devServer: {
    port: 8080,
    open: true,
    contentBase: path.join(__dirname, './public')
  }
}
